package com.example.config;


import org.springframework.security.access.prepost.PreAuthorize;

import java.lang.annotation.*;
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@PreAuthorize("hasRole('财务经理')")
public @interface IsAdmin {
}
